package com.kangyi.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Blank
 * @since 2025-02-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("nursing_home")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class NursingHome implements Serializable {

    //审核状态：1待审核，2启用，3禁用 4已拒绝
    public static final Integer PENDING_REVIEW = 1;
    public static final Integer ENABLED = 2;
    public static final Integer DISABLED = 3;
    public static final Integer REJECTED = 4;


    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("养老院名称")
    private String name;
    @ApiModelProperty("地区id")
    private Integer regionId;
    @ApiModelProperty("养老院成立时间")
    private LocalDate establishmentTime;
    @ApiModelProperty("机构类型id")
    private Integer organizationId;
    @ApiModelProperty("养老院接待时间")
    private String receptionTime;
    @ApiModelProperty("详细地址")
    private String addressDescription;
    @ApiModelProperty("电话号")
    private String phone;
    @ApiModelProperty("图片")
    private String image;
    @ApiModelProperty("简介")
    private String description;
    @ApiModelProperty("评分")
    private BigDecimal rating;
    @ApiModelProperty("状态")
    private Integer status;
    @ApiModelProperty("创建人")
    private Integer createUser;
    @ApiModelProperty("修改人")
    private Integer updateUser;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;


}
